package fi.pakkanen.yarpg.creature;

/**
 * The race types in this game.
 * 
 * @author Oliver Michels <oliver.michels@gmx.net>
 * 
 */
public enum RaceType {
	HUMAN("Human"),
	ELF("Elf"),
	DWARF("Dwarf"),
	GNOME("Gnome"),
	ORC("Orc");

	private final String displayName;

	/**
	 * Create a new race type.
	 * 
	 * @param name
	 *            the display name of the race type
	 */
	private RaceType(String name) {
		displayName = name;
	}

	/**
	 * Get the display name of the race.
	 * 
	 * @return
	 */
	public String getName() {
		return displayName;
	}

	@Override
	public String toString() {
		return displayName;
	}
}
